{extends file="assets::smarty-templates::Master"|toPath}
{block name="customScripts"}
<script>
    {literal}
    $(window).load(function() {
        $('body').addClass("full-slider");
        $('#inicio').addClass("active");

        $('#slider').plusSlider({
            paginationBefore: true,	
            createArrows: true,
            pauseOnHover: true,
            width: 1920,		
            height: 850	
        });
    });
    {/literal}
</script>
{/block}
{block name="sliders"}
{foreach $sliders as $slider}
    <div>
        <img src="media/sliders/{$slider['name']}.{$slider['format']}" />
        <div class="titles">
            <h2 class="first-title"><a>{$slider['title']}</a></h2>
            <span class="clear"></span>
            <h2 class="second-title"><a>{$slider['second_title']}</a></h2>
        </div>
    </div>
{/foreach}
{/block}
{block name="aditionalMenu"}{/block}